﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Resxus.Model;
using Resxus.DataAccess;

namespace Resxus.ViewModel
{
    public interface IEdit
    {
        void Load(ICollection<ResourceFile> collection, string actionName, Action<ResourceFile> action);
        
        void Open(ResourceFile file);
        void Save(ResourceFile file);
        void Save(ResourceFile file, string newPath);
        
        ResFilesRepository Files { get; }
        TableCollection Repositories { get; }

        ResourceEditVM Current { get; }
    }
}
